Skip to content

Conversation

@graycreate
Copy link
Member

Summary

  • Add Color.itemBg background to LoadmoreIndicatorView to match the post content area
  • Add Color.itemBg background to ScrollView in UpdatableView for consistent background color throughout the entire scrollable area

This fixes the visual inconsistency where the "No more data" section and the area below it showed a pure black background instead of matching the lighter post content background color.

Test plan

  • Open any topic detail page with replies
  • Scroll to bottom until "No more data" appears
  • Verify the background color is consistent with the post content area (no black area below)

🤖 Generated with Claude Code

- Add Color.itemBg background to LoadmoreIndicatorView to match content area
- Add Color.itemBg background to ScrollView in UpdatableView for consistent
  background color throughout the entire scrollable area

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copilot AI review requested due to automatic review settings December 1, 2025 15:06
@graycreate graycreate merged commit b7b5903 into main Dec 1, 2025
10 checks passed
@graycreate graycreate deleted the bugfix/fix-no-more-data-background-color branch December 1, 2025 15:07
Copilot finished reviewing on behalf of graycreate December 1, 2025 15:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a visual inconsistency where the "No more data" indicator and the area below it displayed a black background instead of matching the lighter Color.itemBg used in the post content area.

  • Adds Color.itemBg background to the ScrollView in UpdatableView for consistent background throughout the scrollable area
  • Adds Color.itemBg background and .greedyWidth() modifier to LoadmoreIndicatorView to match the post content styling

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
V2er/View/Widget/Updatable/UpdatableView.swift Adds .background(Color.itemBg) to the ScrollView to ensure consistent background color throughout the entire scrollable area
V2er/View/Widget/Updatable/LoadmoreIndicatorView.swift Adds .greedyWidth() and .background(Color.itemBg) to ensure the "No more data" indicator spans the full width with consistent background color

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Code Coverage Report ❌

Current coverage: 27.89%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants